/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.meanzoft.m3d.model.m3dmodel;

import org.lwjgl.util.vector.Vector3f;

/**
 *
 * @author Meanz
 */
public final class Edge {

    private Vertex point1;
    private Vertex point2;

    public Edge() {
        this(new Vertex(), new Vertex());
    }

    public Edge(Vector3f vec1, Vector3f vec2) {
        this(new Vertex(vec1), new Vertex(vec2));
    }

    public Edge(Vertex point1, Vertex point2) {
        setPoint1(point1);
        setPoint2(point2);
    }

    /**
     * Getters and Setters
     */
    public Vertex getPoint1() {
        return point1;
    }

    public void setPoint1(Vertex point1) {
        this.point1 = point1;
    }

    public Vertex getPoint2() {
        return point2;
    }

    public void setPoint2(Vertex point2) {
        this.point2 = point2;
    }
}
